
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>IconFont</title>
    <link rel="stylesheet" href="demo.css">
    <link rel="stylesheet" href="iconfont.css">
</head>
<body>
    <div class="main markdown">
        <h1>IconFont 图标</h1>
        <ul class="icon_lists clear">
            
                <li>
                <i class="icon iconfont icon-graph"></i>
                    <div class="name">graph</div>
                    <div class="fontclass">.icon-graph</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-menu-lf"></i>
                    <div class="name">menu-lf</div>
                    <div class="fontclass">.icon-menu-lf</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-list"></i>
                    <div class="name">list</div>
                    <div class="fontclass">.icon-list</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-oval"></i>
                    <div class="name">oval</div>
                    <div class="fontclass">.icon-oval</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-money"></i>
                    <div class="name">money</div>
                    <div class="fontclass">.icon-money</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-info"></i>
                    <div class="name">info</div>
                    <div class="fontclass">.icon-info</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-ring"></i>
                    <div class="name">ring</div>
                    <div class="fontclass">.icon-ring</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-play"></i>
                    <div class="name">play</div>
                    <div class="fontclass">.icon-play</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-power"></i>
                    <div class="name">power</div>
                    <div class="fontclass">.icon-power</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-arrow-btm"></i>
                    <div class="name">arrow-btm</div>
                    <div class="fontclass">.icon-arrow-btm</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-setting"></i>
                    <div class="name">setting</div>
                    <div class="fontclass">.icon-setting</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-text"></i>
                    <div class="name">text</div>
                    <div class="fontclass">.icon-text</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-arrow-top"></i>
                    <div class="name">arrow-top</div>
                    <div class="fontclass">.icon-arrow-top</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-computer"></i>
                    <div class="name">computer</div>
                    <div class="fontclass">.icon-computer</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-edit"></i>
                    <div class="name">edit</div>
                    <div class="fontclass">.icon-edit</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-caculater"></i>
                    <div class="name">caculater</div>
                    <div class="fontclass">.icon-caculater</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-oval2"></i>
                    <div class="name">oval2</div>
                    <div class="fontclass">.icon-oval2</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-dashboard"></i>
                    <div class="name">dashboard</div>
                    <div class="fontclass">.icon-dashboard</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-close"></i>
                    <div class="name">close</div>
                    <div class="fontclass">.icon-close</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-success"></i>
                    <div class="name">success</div>
                    <div class="fontclass">.icon-success</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-adduser"></i>
                    <div class="name">adduser</div>
                    <div class="fontclass">.icon-adduser</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-date"></i>
                    <div class="name">date</div>
                    <div class="fontclass">.icon-date</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-user"></i>
                    <div class="name">user</div>
                    <div class="fontclass">.icon-user</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-trash"></i>
                    <div class="name">trash</div>
                    <div class="fontclass">.icon-trash</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-lock"></i>
                    <div class="name">lock</div>
                    <div class="fontclass">.icon-lock</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-role"></i>
                    <div class="name">role</div>
                    <div class="fontclass">.icon-role</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-detail"></i>
                    <div class="name">detail</div>
                    <div class="fontclass">.icon-detail</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-lock-hollow"></i>
                    <div class="name">lock-hollow</div>
                    <div class="fontclass">.icon-lock-hollow</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-book"></i>
                    <div class="name">book</div>
                    <div class="fontclass">.icon-book</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-user-hollow"></i>
                    <div class="name">user-hollow</div>
                    <div class="fontclass">.icon-user-hollow</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-browser"></i>
                    <div class="name">browser</div>
                    <div class="fontclass">.icon-browser</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-folder"></i>
                    <div class="name">folder</div>
                    <div class="fontclass">.icon-folder</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-download"></i>
                    <div class="name">download</div>
                    <div class="fontclass">.icon-download</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-arrowL"></i>
                    <div class="name">arrowL</div>
                    <div class="fontclass">.icon-arrowL</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-link"></i>
                    <div class="name">link</div>
                    <div class="fontclass">.icon-link</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-arrow-lf"></i>
                    <div class="name">arrow-lf</div>
                    <div class="fontclass">.icon-arrow-lf</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-arrow-rt"></i>
                    <div class="name">arrow-rt</div>
                    <div class="fontclass">.icon-arrow-rt</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-arrow-rt1"></i>
                    <div class="name">arrow1-rt</div>
                    <div class="fontclass">.icon-arrow-rt1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-arrow-lf1"></i>
                    <div class="name">arrow1-lf</div>
                    <div class="fontclass">.icon-arrow-lf1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-img"></i>
                    <div class="name">img</div>
                    <div class="fontclass">.icon-img</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-search"></i>
                    <div class="name">search</div>
                    <div class="fontclass">.icon-search</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-refresh"></i>
                    <div class="name">refresh</div>
                    <div class="fontclass">.icon-refresh</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-forbid"></i>
                    <div class="name">forbid</div>
                    <div class="fontclass">.icon-forbid</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-lightning"></i>
                    <div class="name">lightning</div>
                    <div class="fontclass">.icon-lightning</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-arrow-top1"></i>
                    <div class="name">arrow-top1</div>
                    <div class="fontclass">.icon-arrow-top1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-key"></i>
                    <div class="name">key</div>
                    <div class="fontclass">.icon-key</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-bag"></i>
                    <div class="name">bag</div>
                    <div class="fontclass">.icon-bag</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-account"></i>
                    <div class="name">account</div>
                    <div class="fontclass">.icon-account</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-list1"></i>
                    <div class="name">list2</div>
                    <div class="fontclass">.icon-list1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-card"></i>
                    <div class="name">card</div>
                    <div class="fontclass">.icon-card</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-manage"></i>
                    <div class="name">manage</div>
                    <div class="fontclass">.icon-manage</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-core-permissions"></i>
                    <div class="name">core-permissions</div>
                    <div class="fontclass">.icon-core-permissions</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-chain-permissions"></i>
                    <div class="name">chain-permissions</div>
                    <div class="fontclass">.icon-chain-permissions</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-inter-relations"></i>
                    <div class="name">inter-relations</div>
                    <div class="fontclass">.icon-inter-relations</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-dept"></i>
                    <div class="name">dept </div>
                    <div class="fontclass">.icon-dept</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-upload"></i>
                    <div class="name">upload</div>
                    <div class="fontclass">.icon-upload</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-dots"></i>
                    <div class="name">dots</div>
                    <div class="fontclass">.icon-dots</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-percent"></i>
                    <div class="name">percent </div>
                    <div class="fontclass">.icon-percent</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-plus"></i>
                    <div class="name">plus</div>
                    <div class="fontclass">.icon-plus</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-magnifier"></i>
                    <div class="name">magnifier</div>
                    <div class="fontclass">.icon-magnifier</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-make-over"></i>
                    <div class="name">make-over</div>
                    <div class="fontclass">.icon-make-over</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-edit-"></i>
                    <div class="name">edit-2</div>
                    <div class="fontclass">.icon-edit-</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-link1"></i>
                    <div class="name">link</div>
                    <div class="fontclass">.icon-link1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-avert"></i>
                    <div class="name">avert</div>
                    <div class="fontclass">.icon-avert</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-approve"></i>
                    <div class="name">approve</div>
                    <div class="fontclass">.icon-approve</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-ok"></i>
                    <div class="name">ok</div>
                    <div class="fontclass">.icon-ok</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-commit"></i>
                    <div class="name">commit </div>
                    <div class="fontclass">.icon-commit</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-money-"></i>
                    <div class="name">money-2</div>
                    <div class="fontclass">.icon-money-</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-split"></i>
                    <div class="name">split</div>
                    <div class="fontclass">.icon-split</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-core-permissions-"></i>
                    <div class="name">core-permissions-2</div>
                    <div class="fontclass">.icon-core-permissions-</div>
                </li>
            
        </ul>

        <h2 id="font-class-">font-class引用</h2>
        <hr>

        <p>font-class是unicode使用方式的一种变种，主要是解决unicode书写不直观，语意不明确的问题。</p>
        <p>与unicode使用方式相比，具有如下特点：</p>
        <ul>
        <li>兼容性良好，支持ie8+，及所有现代浏览器。</li>
        <li>相比于unicode语意明确，书写更直观。可以很容易分辨这个icon是什么。</li>
        <li>因为使用class来定义图标，所以当要替换图标时，只需要修改class里面的unicode引用。</li>
        <li>不过因为本质上还是使用的字体，所以多色图标还是不支持的。</li>
        </ul>
        <p>使用步骤如下：</p>
        <h3 id="-fontclass-">第一步：引入项目下面生成的fontclass代码：</h3>


        <pre><code class="lang-js hljs javascript"><span class="hljs-comment">&lt;link rel="stylesheet" type="text/css" href="./iconfont.css"&gt;</span></code></pre>
        <h3 id="-">第二步：挑选相应图标并获取类名，应用于页面：</h3>
        <pre><code class="lang-css hljs">&lt;<span class="hljs-selector-tag">i</span> <span class="hljs-selector-tag">class</span>="<span class="hljs-selector-tag">iconfont</span> <span class="hljs-selector-tag">icon-xxx</span>"&gt;&lt;/<span class="hljs-selector-tag">i</span>&gt;</code></pre>
        <blockquote>
        <p>"iconfont"是你项目下的font-family。可以通过编辑项目查看，默认是"iconfont"。</p>
        </blockquote>
    </div>
</body>
</html>
